<template>
  <view class="em">
    <image src="https://cdn3.axureshop.com/demo/2116044/images/%E7%A9%BA%E6%95%B0%E6%8D%AE/u435.svg"></image>
    <text>还没有订单去首页逛逛吧</text>
  </view>
</template>

<script>
  export default {
    data() {
      return {

      }
    },
    methods: {

    },
    onShow() {
      var showTimeInterval = setInterval(() => {
        uni.switchTab({
          url: '/pages/home/home'
        })
        clearInterval(showTimeInterval);
      }, 2500);


    }
  }
</script>

<style>
  .em {
    position: absolute;
    top: 280rpx;
    margin-left: 200rpx;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
  }

  .em image {
    width: 350rpx;
    height: 350rpx;
    margin-bottom: 30rpx;
  }

  .em text {
    color: #999999;
    font-size: 30rpx;
  }
</style>
